//
//  HPSimulationListModel.swift
//  TLenPoint
//
//  Created by Docker on 2018/3/27.
//  Copyright © 2018年 Docker. All rights reserved.
//

import UIKit

class HPSimulationListModel: NSObject {
   //判断场次
   @objc var contestTargetCode:String?
   //大赛标的
   @objc var contestTarget:String?
    //报名开始时间
   @objc var enrollBeginDate:String?
    //报名结束时间
   @objc var enrollEndDate:String?
    //标题
   @objc var title:String?
    //游戏开始时间
   @objc var beginDate:String?
    //游戏结束时间
   @objc var endDate:String?
    //大赛id
   @objc var contestId:String?
    //图片Image
   @objc var imageCodeUri:String?
    //报名状态0-未报名;1-已报名;2-比赛进行中;3-比赛已结束;4-比赛已暂停;5-人数不足
   @objc var contestStatus:String?
    //未报名-0 已报名-1 报名未开始-2 报名已截止-3
   @objc var applyStatus:String?
    //最低开赛人次
   @objc var partakeMin:String?
    //最大参赛人数
   @objc var partakeMax:String?
    //虚拟积分
   @objc var capitalJf:String?
    //头像
   @objc var imageUri:String?
    //游戏id
   @objc var gameId:String?
    //限制积分
   @objc var limitJf:String?
    //奖励数组
   @objc var prizes:[HPSimulationRewardListModel]?
    //参赛积分
   @objc var joinFee:String?
    //已报名人数
   @objc var applyUserSum:String?
    //规则
   @objc var notice:String?
    //免费场
   @objc var feeType:String?
    //收益率判断
   @objc var profitSort:String?
    //收费大赛
   @objc var ticket:String?
    
    class func modelContainerPropertyGenericClass() -> [String: Any] {
        return [
            // HPSimulationRewardListModel.self获取类型的class
            "prizes": HPSimulationRewardListModel.self
        ]
    }

}

class HPSimulationRewardListModel: NSObject {
    //排名
   @objc var rank:String?
    //奖励积分
   @objc var reward:String?
    //手机号
   @objc var num:String?
    //昵称
   @objc var title:String?
    //盈亏
   @objc var upperRank:String?
}
